<template>
	<view class="suspension acea-row row-middle row-column row-center">
		<button open-type="contact" class="item acea-row row-middle row-column row-center">
			<image class="icon" src="https://yijiaan.oss-cn-hangzhou.aliyuncs.com/pic/serve-icon.png" mode="aspectFit"></image>
			<text class="name">客服会话</text>
		</button>
		<view class="item acea-row row-middle row-column row-center" style="margin-top: 40rpx;" @click="clickurl">
			<image class="icon" src="https://yijiaan.oss-cn-hangzhou.aliyuncs.com/pic/anli-icon.png" mode="aspectFit"></image>
			<text class="name">服务案例</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			clickurl(){
				uni.navigateTo({
					url:'/pages/newIndex/cases'
				})
			}
		}
	}
</script>

<style lang="scss">
	.suspension{
		width: 108rpx;
		height: 330rpx;
		border-radius: 96rpx;
		background: rgba(0, 0, 0, 0.7);
		position: fixed;
		bottom: 300rpx;
		right: 0;
		
		.item{
			
			.icon{
				width: 64rpx;
				height: 64rpx;
			}
			.name{
				color: #ffffff;
				font-size: 22rpx;
				width: 98rpx;
				text-align: center;
				margin-top: 5rpx;
			}
		}
		
	}
</style>
